package demo_01;

import static com.oracle.jrockit.jfr.ContentType.Millis;

/**
 * @author:连志鹏
 * @className:TestThread1
 * @descrption:
 * @date: 2021/10/8 22:02
 * @version: 0.1
 * @since: 1.8
 */
public class TestThread1 extends Thread {
    @Override
    public void run() {
        for (int i = 0; i < 20; i++) {
            System.out.println("看代码--------"+i);
        }
    }


    public static void main(String[] args) {
        TestThread1 test = new TestThread1();
        test.start();



        for (int i = 0; i < 2000; i++) {
            System.out.println("多线程"+i);
        }
    }
}
